package com.csu.csumall.common;

import lombok.Getter;

@Getter
public enum  OrderStatus {

    DEFAULT(-1, "缺省值，代表全部"),
    DELETED(0, "已删除"),
    CLOSED(1, "交易关闭"),
    UN_PAYED(2, "未支付"),
    PAYED(3, "已支付"),
    SENT(4, "已发货"),
    SUCCEEDED(5, "交易成功");



    private final int value;
    private final String reasonPhrase;

    OrderStatus(int value, String reasonPhrase) {
        this.value = value;
        this.reasonPhrase = reasonPhrase;
    }
}
